package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UpdateMetaDataRequest extends IdRequest{

    @ApiModelProperty(value = "合约地址")
    @NotBlank(message = "合约地址不能为空")
    private String contractAddress;

    @ApiModelProperty(value = "tokenId")
    @NotNull(message = "tokenId不能为空")
    private Integer tokenId;

    @ApiModelProperty(value = "商品名称")
    @NotBlank(message = "商品名称不能为空")
    private String productName;

    @ApiModelProperty(value = "价格")
    @NotBlank(message = "价格不能为空")
    private String price;

    @NotBlank(message = "价格单位不能为空")
    @ApiModelProperty(value = "图片")
    private String url;
    
}
